package com.youngjun.user.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.youngjun.common.pojo.vo.support.BaseVO;

import java.sql.Timestamp;

public class DocumentVO extends BaseVO<DocumentVO> {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private Timestamp gmtCreated;

    private Timestamp gmtModified;

    private String name;

    private String contentType;

    private Long contentSize;

    public Long getId() {
        return id;
    }

    public DocumentVO setId(Long id) {
        this.id = id;
        return this;
    }

    public Timestamp getGmtCreated() {
        return gmtCreated;
    }

    public DocumentVO setGmtCreated(Timestamp gmtCreated) {
        this.gmtCreated = gmtCreated;
        return this;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public DocumentVO setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }

    public String getName() {
        return name;
    }

    public DocumentVO setName(String name) {
        this.name = name;
        return this;
    }

    public String getContentType() {
        return contentType;
    }

    public DocumentVO setContentType(String contentType) {
        this.contentType = contentType;
        return this;
    }

    public Long getContentSize() {
        return contentSize;
    }

    public DocumentVO setContentSize(Long contentSize) {
        this.contentSize = contentSize;
        return this;
    }
}